

import javax.swing.JPanel;
import java.awt.BorderLayout;
import java.awt.Color;
import javax.swing.JButton;
import javax.swing.JLabel;
import java.awt.Font;
import javax.swing.JSplitPane;
import javax.swing.JInternalFrame;
import javax.swing.JDesktopPane;
import java.awt.event.ActionListener;
import java.awt.event.ActionEvent;
import java.awt.Dimension;
import java.awt.Component;
import javax.swing.JTextField;
import javax.swing.JList;
import javax.swing.SwingConstants;

public class EmpInsertPanel extends JPanel {
	private JSplitPane splitPane;
	private JButton btnNewButton;
	private JButton btnNewButton_1;
	private JPanel panel;
	private JLabel lblNewLabel;
	private JPanel panel_1;
	private JLabel lblNewLabel_1;
	private JLabel lblNewLabel_2;
	private JLabel lblNewLabel_3;
	private JLabel lblNewLabel_4;
	private JLabel lblNewLabel_5;
	private JPanel panel_2;
	private JPanel panel_3;
	private JButton btnNewButton_2;
	private JButton btnNewButton_3;
	private JButton btnNewButton_4;
	private JLabel lblNewLabel_6;
	private JTextField textField;
	private JTextField textField_1;
	private JTextField textField_2;
	private JTextField textField_3;
	private JList list;
	private JLabel lblNewLabel_7;
	private JLabel lblNewLabel_8;
	private JLabel lblNewLabel_9;
	private JLabel lblNewLabel_10;
	private JTextField textField_4;
	private JTextField textField_5;
	private JTextField textField_6;
	private JTextField textField_7;
	private JLabel lblNewLabel_11;
	private JTextField textField_8;
	private JButton btnNewButton_5;
	private JLabel lblNewLabel_12;
	private JTextField textField_9;
	private JTextField textField_10;

	/**
	 * Create the panel.
	 */
	public EmpInsertPanel() {
		setPreferredSize(new Dimension(620, 400));
		setBackground(new Color(173, 216, 230));
		setLayout(new BorderLayout(0, 0));
		add(getSplitPane(), BorderLayout.SOUTH);
		add(getPanel(), BorderLayout.NORTH);
		add(getPanel_1(), BorderLayout.WEST);
		add(getPanel_2(), BorderLayout.CENTER);

	}
	private JSplitPane getSplitPane() {
		if (splitPane == null) {
			splitPane = new JSplitPane();
			splitPane.setBackground(new Color(245, 255, 250));
			splitPane.setRightComponent(getBtnNewButton());
			splitPane.setLeftComponent(getBtnNewButton_1());
		}
		return splitPane;
	}
	private JButton getBtnNewButton() {
		if (btnNewButton == null) {
			btnNewButton = new JButton(); //$NON-NLS-1$
			btnNewButton.setText("등록");
			btnNewButton.addActionListener(new ActionListener() {
				public void actionPerformed(ActionEvent arg0) {
				}
			});
		}
		return btnNewButton;
	}
	private JButton getBtnNewButton_1() {
		if (btnNewButton_1 == null) {
			btnNewButton_1 = new JButton(); //$NON-NLS-1$
			btnNewButton_1.setText("초기화");
			btnNewButton_1.setMinimumSize(new Dimension(120, 23));
			btnNewButton_1.setMaximumSize(new Dimension(120, 23));
			btnNewButton_1.addActionListener(new ActionListener() {
				public void actionPerformed(ActionEvent e) {
				}
			});
		}
		return btnNewButton_1;
	}
	private JPanel getPanel() {
		if (panel == null) {
			panel = new JPanel();
			panel.setBackground(new Color(245, 255, 250));
			panel.setPreferredSize(new Dimension(10, 34));
			panel.setLayout(new BorderLayout(0, 0));
			panel.add(getLabel_1(), BorderLayout.WEST);
			panel.add(getPanel_3(), BorderLayout.CENTER);
		}
		return panel;
	}
	private JLabel getLabel_1() {
		if (lblNewLabel == null) {
			lblNewLabel = new JLabel(); //$NON-NLS-1$
			lblNewLabel.setBackground(new Color(245, 255, 250));
			lblNewLabel.setText("사원 등록");
			lblNewLabel.setForeground(new Color(0, 0, 0));
			lblNewLabel.setHorizontalAlignment(SwingConstants.CENTER);
			lblNewLabel.setFont(new Font("돋움", Font.BOLD, 17));
			lblNewLabel.setPreferredSize(new Dimension(120, 15));
		}
		return lblNewLabel;
	}
	private JPanel getPanel_1() {
		if (panel_1 == null) {
			panel_1 = new JPanel();
			panel_1.setBackground(new Color(245, 255, 250));
			panel_1.setPreferredSize(new Dimension(120, 10));
			panel_1.setMinimumSize(new Dimension(30, 30));
			panel_1.setLayout(null);
			panel_1.add(getLabel_2());
			panel_1.add(getLabel_3());
			panel_1.add(getLabel_4());
			panel_1.add(getLabel_5());
			panel_1.add(getLabel_6());
		}
		return panel_1;
	}
	private JLabel getLabel_2() {
		if (lblNewLabel_1 == null) {
			lblNewLabel_1 = new JLabel();
			lblNewLabel_1.setText("First Name : ");
			lblNewLabel_1.setBounds(10, 39, 96, 15);
		}
		return lblNewLabel_1;
	}
	private JLabel getLabel_3() {
		if (lblNewLabel_2 == null) {
			lblNewLabel_2 = new JLabel();
			lblNewLabel_2.setText("Last name :");
			lblNewLabel_2.setBounds(11, 70, 96, 15);
		}
		return lblNewLabel_2;
	}
	private JLabel getLabel_4() {
		if (lblNewLabel_3 == null) {
			lblNewLabel_3 = new JLabel(); 
			lblNewLabel_3.setText("Department ID :");
			lblNewLabel_3.setBounds(12, 101, 96, 15);
		}
		return lblNewLabel_3;
	}
	private JLabel getLabel_5() {
		if (lblNewLabel_4 == null) {
			lblNewLabel_4 = new JLabel(); 
			lblNewLabel_4.setText("Job ID :");
			lblNewLabel_4.setBounds(12, 134, 96, 15);
		}
		return lblNewLabel_4;
	}
	private JLabel getLabel_6() {
		if (lblNewLabel_5 == null) {
			lblNewLabel_5 = new JLabel();
			lblNewLabel_5.setFont(new Font("굴림", Font.BOLD, 14));
			lblNewLabel_5.setText(" * 필수입력 *");
			lblNewLabel_5.setBounds(12, 10, 96, 15);
		}
		return lblNewLabel_5;
	}
	private JPanel getPanel_2() {
		if (panel_2 == null) {
			panel_2 = new JPanel();
			panel_2.setBackground(new Color(245, 255, 250));
			panel_2.setLayout(null);
			panel_2.add(getTextField());
			panel_2.add(getTextField_1());
			panel_2.add(getTextField_2());
			panel_2.add(getTextField_3());
			panel_2.add(getList());
			panel_2.add(getLabel_7());
			panel_2.add(getLabel_8());
			panel_2.add(getLabel_9());
			panel_2.add(getLabel_10());
			panel_2.add(getLblNewLabel_10());
			panel_2.add(getTextField_4());
			panel_2.add(getTextField_5());
			panel_2.add(getTextField_6());
			panel_2.add(getTextField_7());
			panel_2.add(getLblNewLabel_11());
			panel_2.add(getTextField_8());
			panel_2.add(getBtnNewButton_5());
			panel_2.add(getLblNewLabel_12());
			panel_2.add(getTextField_9());
			panel_2.add(getTextField_10());
		}
		return panel_2;
	}
	private JPanel getPanel_3() {
		if (panel_3 == null) {
			panel_3 = new JPanel();
			panel_3.setBackground(new Color(245, 255, 250));
			panel_3.setLayout(new BorderLayout(0, 0));
			panel_3.add(getBtnNewButton_2(), BorderLayout.EAST);
			panel_3.add(getBtnNewButton_3(), BorderLayout.CENTER);
			panel_3.add(getBtnNewButton_4(), BorderLayout.WEST);
		}
		return panel_3;
	}
	private JButton getBtnNewButton_2() {
		if (btnNewButton_2 == null) {
			btnNewButton_2 = new JButton(); 
			btnNewButton_2.setPreferredSize(new Dimension(160, 9));
			btnNewButton_2.setMinimumSize(new Dimension(160, 9));
			btnNewButton_2.setMaximumSize(new Dimension(160, 9));
			btnNewButton_2.setBackground(new Color(135, 206, 250));
			btnNewButton_2.setForeground(new Color(255, 255, 255));
			btnNewButton_2.setFont(new Font("Dialog", Font.BOLD, 17));
			btnNewButton_2.setText("수정 & 삭제");
		}
		return btnNewButton_2;
	}
	private JButton getBtnNewButton_3() {
		if (btnNewButton_3 == null) {
			btnNewButton_3 = new JButton(); 
			btnNewButton_3.setBackground(new Color(135, 206, 250));
			btnNewButton_3.setForeground(new Color(255, 255, 255));
			btnNewButton_3.setFont(new Font("Dialog", Font.BOLD, 17));
			btnNewButton_3.setText("사원 등록");
			btnNewButton_3.setMinimumSize(new Dimension(120, 23));
			btnNewButton_3.setMaximumSize(new Dimension(120, 23));
			btnNewButton_3.setPreferredSize(new Dimension(120, 23));
		}
		return btnNewButton_3;
	}
	private JButton getBtnNewButton_4() {
		if (btnNewButton_4 == null) {
			btnNewButton_4 = new JButton();
			btnNewButton_4.setBackground(new Color(135, 206, 250));
			btnNewButton_4.setForeground(new Color(255, 255, 255));
			btnNewButton_4.setFont(new Font("Dialog", Font.BOLD, 17));
			btnNewButton_4.setText("사원 조회");
			btnNewButton_4.setPreferredSize(new Dimension(160, 23));
			btnNewButton_4.setMinimumSize(new Dimension(120, 23));
			btnNewButton_4.setMaximumSize(new Dimension(120, 23));
		}
		return btnNewButton_4;
	}
	private JLabel getLabel_7() {
		if (lblNewLabel_6 == null) {
			lblNewLabel_6 = new JLabel();
			lblNewLabel_6.setFont(new Font("굴림", Font.BOLD, 14));
			lblNewLabel_6.setText("* 선택입력 *");
			lblNewLabel_6.setBounds(192, 10, 96, 15);
		}
		return lblNewLabel_6;
	}
	private JTextField getTextField() {
		if (textField == null) {
			textField = new JTextField();
			textField.setBounds(12, 37, 116, 21);
			textField.setColumns(10);
		}
		return textField;
	}
	private JTextField getTextField_1() {
		if (textField_1 == null) {
			textField_1 = new JTextField();
			textField_1.setBounds(12, 68, 116, 21);
			textField_1.setColumns(10);
		}
		return textField_1;
	}
	private JTextField getTextField_2() {
		if (textField_2 == null) {
			textField_2 = new JTextField();
			textField_2.setBounds(12, 99, 116, 21);
			textField_2.setColumns(10);
		}
		return textField_2;
	}
	private JTextField getTextField_3() {
		if (textField_3 == null) {
			textField_3 = new JTextField();
			textField_3.setBounds(12, 130, 116, 21);
			textField_3.setColumns(10);
		}
		return textField_3;
	}
	private JList getList() {
		if (list == null) {
			list = new JList();
			list.setBounds(12, 229, 477, 81);
		}
		return list;
	}
	private JLabel getLabel_8() {
		if (lblNewLabel_7 == null) {
			lblNewLabel_7 = new JLabel(); //$NON-NLS-1$
			lblNewLabel_7.setText("E-mail :");
			lblNewLabel_7.setBounds(214, 40, 62, 15);
		}
		return lblNewLabel_7;
	}
	private JLabel getLabel_9() {
		if (lblNewLabel_8 == null) {
			lblNewLabel_8 = new JLabel(); //$NON-NLS-1$
			lblNewLabel_8.setText("Phone Number :");
			lblNewLabel_8.setBounds(168, 71, 96, 15);
		}
		return lblNewLabel_8;
	}
	private JLabel getLabel_10() {
		if (lblNewLabel_9 == null) {
			lblNewLabel_9 = new JLabel(); //$NON-NLS-1$
			lblNewLabel_9.setText("Manager ID :");
			lblNewLabel_9.setBounds(190, 102, 86, 15);
		}
		return lblNewLabel_9;
	}
	private JLabel getLblNewLabel_10() {
		if (lblNewLabel_10 == null) {
			lblNewLabel_10 = new JLabel(); //$NON-NLS-1$
			lblNewLabel_10.setText("Hire Date :");
			lblNewLabel_10.setBounds(204, 133, 72, 15);
		}
		return lblNewLabel_10;
	}
	private JTextField getTextField_4() {
		if (textField_4 == null) {
			textField_4 = new JTextField();
			textField_4.setBounds(273, 37, 216, 21);
			textField_4.setColumns(10);
		}
		return textField_4;
	}
	private JTextField getTextField_5() {
		if (textField_5 == null) {
			textField_5 = new JTextField();
			textField_5.setBounds(273, 68, 216, 21);
			textField_5.setColumns(10);
		}
		return textField_5;
	}
	private JTextField getTextField_6() {
		if (textField_6 == null) {
			textField_6 = new JTextField();
			textField_6.setBounds(273, 99, 216, 21);
			textField_6.setColumns(10);
		}
		return textField_6;
	}
	private JTextField getTextField_7() {
		if (textField_7 == null) {
			textField_7 = new JTextField();
			textField_7.setBounds(273, 130, 216, 21);
			textField_7.setColumns(10);
		}
		return textField_7;
	}
	private JLabel getLblNewLabel_11() {
		if (lblNewLabel_11 == null) {
			lblNewLabel_11 = new JLabel(); //$NON-NLS-1$
			lblNewLabel_11.setText("상세주소 :");
			lblNewLabel_11.setBounds(12, 204, 72, 15);
		}
		return lblNewLabel_11;
	}
	private JTextField getTextField_8() {
		if (textField_8 == null) {
			textField_8 = new JTextField();
			textField_8.setBounds(62, 173, 145, 21);
			textField_8.setColumns(10);
		}
		return textField_8;
	}
	private JButton getBtnNewButton_5() {
		if (btnNewButton_5 == null) {
			btnNewButton_5 = new JButton(); //$NON-NLS-1$
			btnNewButton_5.setText("우편번호 검색");
			btnNewButton_5.setBounds(228, 172, 132, 23);
		}
		return btnNewButton_5;
	}
	private JLabel getLblNewLabel_12() {
		if (lblNewLabel_12 == null) {
			lblNewLabel_12 = new JLabel(); //$NON-NLS-1$
			lblNewLabel_12.setText("동입력 : ");
			lblNewLabel_12.setBounds(12, 176, 57, 15);
		}
		return lblNewLabel_12;
	}
	private JTextField getTextField_9() {
		if (textField_9 == null) {
			textField_9 = new JTextField();
			textField_9.setBounds(72, 201, 192, 21);
			textField_9.setColumns(10);
		}
		return textField_9;
	}
	private JTextField getTextField_10() {
		if (textField_10 == null) {
			textField_10 = new JTextField();
			textField_10.setBounds(271, 201, 218, 21);
			textField_10.setColumns(10);
		}
		return textField_10;
	}
}
